package com.lottery.pojo.thrift.service.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class Core extends Base {

    @Value("${thrift.service.core.address}")
    String address;
    @Value("${thrift.service.core.port}")
    int port;

    @Override
    public String getAddress() {
      return address;
    }

    @Override
    public int getPort() {
      return port;
    }
  }